ASP.NET Pack Programmer's Guide
XmlPersistContext.WriteDateTimeNullable Method
See Also
 





Writes the specified DateTime object as an XML element with the specified name and the specified parent.

Namespace: MindFusion.UI.WebForms
Package: MindFusion.UI.WebForms

 Syntax

C#  Copy Code

public XmlElement WriteDateTimeNullable (
    Nullable<DateTime> value,
    string elementName,
    XmlElement parentElement
)

Visual Basic  Copy Code

Public Function WriteDateTimeNullable( _
    value As Nullable(Of DateTime), _
    elementName As String, _
    parentElement As XmlElement _
) As XmlElement

 Parameters

value

The DateTime object to write.

elementName

The name of the new XML element.

parentElement

The parent of the new XML element.

 Return Value

Type: XmlElement
The newly created XML element.

 See Also

XmlPersistContext Members
XmlPersistContext Class
MindFusion.UI.WebForms Namespace